package com.elegantmall.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("userorder")
public class UserOrderPojo {


    @TableId(value="uid",type= IdType.ASSIGN_ID)
    private String uid;

    @TableField("username")
    private String username;

    @TableField("orderid")
    private String orderid;

    @TableField("seller")
    private String seller;

    @TableField("goods")
    private String goods;

    @TableField("create_time")
    private String createtime;

    @TableField(exist = false)
    private String address;
}
